package com.qf.staticProxy;

/**
 * 房东代理类（中介）
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.02.09
 * @since 1.0
 */
public class FangDongProxy implements FangDongService{

    //创建房东对象
    FangDongService fangDongService = new FangDongServiceImpl();

    @Override
    public void zuFang() {
        System.out.println("发布租房信息");
        System.out.println("带客户看房");
        fangDongService.zuFang();
        System.out.println("打扫卫生");
        System.out.println("维修房屋");
    }
}
